package Shape;

public class TestShape {
    public static void main(String[] args) {

    Shape t1 = new Triangle(0.0,4.0,5.0);
    Shape s1 = new Square(4.0);

        System.out.println(t1.area());
        System.out.println(t1.perimeter());
        System.out.println(s1.area());
        System.out.println(s1.perimeter());
    }

}
